package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商评分对象 jt_supplier_rating
 * 
 * @author Alan Zhang
 * @date 2025-05-22
 */
public class JtSupplierRating extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报告id */
    private Long ratingId;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long supplierId;

    /** 评分 */
    @Excel(name = "评分")
    private Integer rating;

    /** 评分人 */
    @Excel(name = "评分人")
    private String rater;

    public void setRatingId(Long ratingId) 
    {
        this.ratingId = ratingId;
    }

    public Long getRatingId() 
    {
        return ratingId;
    }

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId()
    {
        return supplierId;
    }

    public void setRating(Integer rating)
    {
        this.rating = rating;
    }

    public Integer getRating()
    {
        return rating;
    }

    public void setRater(String rater) 
    {
        this.rater = rater;
    }

    public String getRater() 
    {
        return rater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ratingId", getRatingId())
            .append("supplierId", getSupplierId())
            .append("rating", getRating())
            .append("rater", getRater())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
